<?= $this->doctype(); ?>
<html>
<head>

	<?php echo $this->headMeta(); ?>
	<?php echo $this->headTitle(); ?>
	<?php echo $this->headLink()->prependStylesheet($this->baseUrl() . '/public/css/application.css')
		                        ->prependStylesheet($this->baseUrl() . '/public/css/bootstrap.css')
                                ->prependStylesheet($this->baseUrl() . '/public/css/style.css')
    ;
	?>
    <?php  echo $this->headScript()->appendFile($this->baseUrl(). '/public/js/galleria/plugins/facebook/galleria.facebook.js')
                                    ->prependFile($this->baseUrl() . '/public/js/galleria/galleria-1.3.5.min.js')
                                    ->prependFile($this->baseUrl() . '/public/js/main.js')
    ;

	?>

</head>

<body>

<div id="myModal" data-toggle="modal" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">

    <div class="modal-dialog modal-sm">

        <div class="modal-content alert alert-success">
            <? foreach($this->flashMessenger->getMessages() as $msg){ ?>
                <script>
                    $('#myModal').modal('show');
                </script>
                <h3><?= $msg;?><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button></h3>
            <?}?>
        </div>
    </div>
</div>
    <div id="father">
        <a href="<?= $this->baseUrl() ?>">
        <div class="row" id="top">
            <div class="col-md-3">
                <img src="<?= $this->baseUrl() . '/public/img/logo.png' ?>" alt="Logo principal"  >
            </div>
        </div>
        </a>
        <div class="row" id="sub-top">
            <div class="col-xs-12 col-md-12 col-lg-12"">Assembléia de Deus Central em Jardim Primavera</div>
        </div>
        <div class="row com-borda" id="miolo" >
            <div class="col-xs-3 col-md-2 col-lg-2" id="layout-lateral">
                <div class="row">
                    <div class="col-md-12">
                        <ul class="nav">
                            <li><a class="link-content" href="<?= $this->baseUrl() .'/index/pastor'?>"><strong>Pr. Sérgio Brito</strong></a></li>
                            <li><a class="link-content" href="<?= $this->baseUrl() .'/index/informacoes'?>"><strong>Informações da igreja</strong></a></li>
                            <li><a class="link-content" href="<?= $this->baseUrl() .'/index/dvd'?>"><strong>DVD's / Livros</strong></a></li>
                            <li><a class="link-content" href="<?= $this->baseUrl() .'/departamentos'?>"><strong>Departamentos</strong></a></li>
                            <li><a class="link-content" href="<?= $this->baseUrl() .'/index/filiais'?>"><strong>Filiais</strong></a></li>
                            <li><a class="link-content" href="<?= $this->baseUrl() .'/index/localizacao'?>"><strong>Localização da Matriz</strong></a></li>
                        </ul>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <a target="_blank" href="http://www.bibliaonline.org/">
                            <img width="100%" border="0" height="93" alt="Bíblia Online" src="<?= $this->baseUrl() . '/public/img/bibliaonline.jpg'?>">
                        </a>
                    </div>
                </div>
                <div >
                    <?= $this->partial('partials/_eventosBox.phtml');?>
                </div>
            </div>
            <div class="col-xs-8 col-md-9" id="content">
                <?php echo $this->layout()->content; ?>
            </div>
        </div>
        <div class="row" id="rodape"><?= $this->partial('partials/_rodape.phtml');?></div>
        <div class="row" >© Copyright - Direitos Reservados - ADCJARP secretaria@adcjarp.com.br</div>
    </div>

    <div id="baseUrl"><?= $this->baseUrl() ?></div>


</body>
</html>
